'************************************************************************
'
'   TopStyle Opera 4 Definition
'
'   Opera 4.0 supports all of CSS1. 
'   Opera 4.0 supports all of CSS2 with the exception of: 
'	* Opera 4.0 is a visual browser and does not support Aural CSS 
'	* these properties: 
'		caption-side
'		clip
'		cursor
'		direction
'		font-size-adjust	
'		font-stretch
'		marker-offset
'		marks
'		text-shadow
'		unicode-bidi
'		overflow
'		all outline properties 
'	* the system values on the font property 
'	* system colors (as described in section 18.2) 
'	* the values added to list-style-type in CSS2 
'	* these property/value combination: 
'		'display: marker'
'		'text-align: <string>'
'		'visibility: collapse'
'		'content: <url>' 
'	* named pages (as described in section 13.3.2) 
'	* the '@font-face' construct 
'
'************************************************************************

[definition]
Version=2.0
Revision=0
Author=Nick Bradbury
Icon=opera
NamedColors=1
SystemColors=0
RGBColors=1
InheritValue=1
@font-face=0

[known types]
<units>			= (pt|in|pc|mm|cm|px|em|ex)
<generic-family>	= (serif|sans\-serif|cursive|fantasy|monospace)
<absolute-size> 	= (xx\-small|x\-small|small|medium|large|x\-large|xx\-large)
<relative-size>		= (larger|smaller)

[selectors]
Class=Y
ID=Y
Contextual=Y
Child=Y
Descendant=Y
Sibling=Y
Attribute=Y
Universal=Y

[pseudo]
:link
:visited
:active
:hover
:focus
:first-line
:first-letter
:first-child
:lang
:before
:after

[groups]
Box
Color and Background
Classification
Font
Generate
Page
Tables
Text
Visual

[properties]
background
background-attachment
background-color
background-image
background-position
background-repeat
border
border-bottom
border-bottom-color
border-bottom-style
border-bottom-width
border-collapse
border-color
border-left
border-left-color
border-left-style
border-left-width
border-right
border-right-color
border-right-style
border-right-width
border-spacing
border-style
border-top
border-top-color
border-top-style
border-top-width
border-width
bottom
clear
color
content
counter-increment
counter-reset
display
empty-cells
float
font
font-family
font-size
font-style
font-variant
font-weight
height
left
letter-spacing
line-height
list-style
list-style-image
list-style-position
list-style-type
margin
margin-bottom
margin-left
margin-right
margin-top
max-height
max-width
min-height
min-width
orphans
padding
padding-bottom
padding-left
padding-right
padding-top
page-break-after
page-break-before
page-break-inside
position
quotes
right
size
table-layout
text-align
text-decoration
text-indent
text-transform
top
vertical-align
visibility
white-space
widows
width
word-spacing
z-index

[background]
inherited=0
initial=
group=Color and Background
value1=<background-color>
value2=<background-image>
value3=<background-repeat>
value4=<background-attachment>
value5=<background-position>

[background-attachment]
inherited=0
initial=scroll
group=Color and Background
value1=scroll|fixed

[background-color]
inherited=0
initial=transparent
group=Color and Background
value1=transparent|<color>

[background-image]
inherited=0
initial=none
group=Color and Background
value1=<url>|none

[background-position]
inherited=0
initial=0% 0%
group=Color and Background
multiple=1
value1=(<percentage>|<length>)||(top|center|bottom)||(left|center|right)

[background-repeat]
inherited=0
initial=repeat
group=Color and Background
value1=repeat\-x|repeat\-y|no\-repeat|repeat

[border]
inherited=0
initial=
group=Box
value1=thin|medium|thick|<length>
value2=none|dotted|dashed|solid|double|groove|ridge|inset|outset
value3=<color>

[border-bottom]
inherited=0
group=Box
value1=<border-bottom-width>
value2=<border-bottom-style>
value3=<border-bottom-color>

[border-bottom-color]
inherited=0
group=Box
value1=<color>

[border-bottom-style]
inherited=0
group=box
value1=none|dotted|dashed|solid|double|groove|ridge|inset|outset

[border-bottom-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-collapse]
group=Tables
inherited=1
initial=collapse
value1=collapse|separate

[border-color]
inherited=0
group=Box
value1=<border-top-color>
value2=<border-right-color>
value3=<border-bottom-color>
value4=<border-left-color>

[border-left]
inherited=0
group=Box
value1=<border-left-width>
value2=<border-left-style>
value3=<border-left-color>

[border-left-color]
inherited=0
group=Box
value1=<color>

[border-left-style]
inherited=0
group=box
value1=none|dotted|dashed|solid|double|groove|ridge|inset|outset

[border-left-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-right]
inherited=0
group=Box
value1=<border-right-width>
value2=<border-right-style>
value3=<border-right-color>

[border-right-color]
inherited=0
group=Box
value1=<color>

[border-right-style]
inherited=0
group=box
value1=none|dotted|dashed|solid|double|groove|ridge|inset|outset

[border-right-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-spacing]
inherited=1
group=Tables
initial=0
multiple=1
value1=<length>||<length>

[border-style]
inherited=0
initial=none
group=Box
value1=<border-top-style>
value2=<border-right-style>
value3=<border-bottom-style>
value4=<border-left-style>

[border-top]
inherited=0
initial=
group=Box
value1=<border-top-width>
value2=<border-top-style>
value3=<border-top-color>

[border-top-color]
inherited=0
group=Box
value1=<color>

[border-top-style]
inherited=0
group=box
value1=none|dotted|dashed|solid|double|groove|ridge|inset|outset

[border-top-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-width]
inherited=0
initial=
group=Box
value1=<border-top-width>
value2=<border-right-width>
value3=<border-bottom-width>
value4=<border-left-width>

[bottom]
inherited=0
group=Visual
initial=auto
value1=<percentage>|<length>|auto

[clear]
inherited=0
initial=none
group=Box
value1=none|left|right|both

[color]
inherited=1
group=Color and Background
value1=<color>

[content]
inherited=0
initial=
group=Generate
multiple=1
value1=<string>||<counter>||(open\-quote|close\-quote|no\-open-quote|no\-close-quote)

[counter-increment]
inherited=0
initial=none
group=Generate
multiple=1
value1=none|<counter-name>

[counter-reset]
inherited=0
initial=none
group=Generate
multiple=1
value1=none|(<counter>||<counter-name>)

[display]
inherited=0
initial=block
group=Classification
value1=inline|block|list\-item|run\-in|compact|table|inline\-table|table\-row\-group|table\-header\-group|table\-footer\-group|table\-row|table\-column\-group|table\-column|table\-cell|table\-caption|none

[empty-cells]
inherited=1
group=Tables
initial=show
value1=show|hide

[float]
inherited=0
initial=none
group=Box
value1=left|right|none

[font]
inherited=1
initial=
group=Font
value1=<font-weight>
value2=<font-style>
value3=<font-variant>
value4=<font-size>
value5=<line-height>
value6=<font-family>

[font-family]
inherited=1
initial=
group=Font
value1=((<generic-family>|<family-name>),)*(<generic-family>|<family-name>)

[font-size]
inherited=1
initial=medium
group=Font
value1=<relative-size>|<absolute-size>|<percentage>|<length>

[font-style]
inherited=1
initial=normal
group=Font
value1=normal|italic|oblique

[font-variant]
inherited=1
initial=normal
group=Font
value1=normal|small\-caps

[font-weight]
inherited=1
initial=normal
group=Font
value1=normal|bolder|bold|lighter|100|200|300|400|500|600|700|800|900

[height]
inherited=0
initial=auto
group=Visual
value1=<percentage>|<length>|auto

[left]
inherited=0
initial=auto
group=Visual
value1=<percentage>|<length>|auto

[letter-spacing]
inherited=1
initial=normal
group=Text
value1=normal|<length>

[line-height]
inherited=1
initial=normal
group=Text
value1=normal|<percentage>|<length>|<number>

[list-style]
inherited=1
initial=
group=Classification
value1=<list-style-type>
value2=<list-style-position>
value3=<list-style-image>

[list-style-image]
inherited=1
initial=none
group=Classification
value1=<url>|none

[list-style-position]
inherited=1
initial=outside
group=Classification
value1=inside|outside

[list-style-type]
inherited=1
initial=disc
group=Classification
value1=disc|circle|square|decimal|lower\-roman|upper\-roman|lower\-alpha|upper\-alpha|none

[margin]
inherited=0
initial=
group=Box
value1=<margin-top>
value2=<margin-right>
value3=<margin-bottom>
value4=<margin-left>

[margin-bottom]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[margin-left]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[margin-right]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[margin-top]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[max-height]
inherited=0
initial=none
group=Visual
value1=<percentage>|<length>|none

[max-width]
inherited=0
initial=none
group=Visual
value1=<percentage>|<length>|none

[min-height]
inherited=0
initial=0
group=Visual
value1=<percentage>|<length>|none

[min-width]
inherited=0
initial=0
group=Visual
value1=<percentage>|<length>|none

[orphans]
inherited=1
initial=2
group=Page
value1=<integer>

[padding]
inherited=0
initial=
group=Box
value1=<padding-top>
value2=<padding-right>
value3=<padding-bottom>
value4=<padding-left>

[padding-bottom]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[padding-left]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[padding-right]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[padding-top]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[page-break-after]
inherited=0
initial=auto
group=Page
value1=auto|always|avoid|left|right

[page-break-before]
inherited=0
initial=auto
group=Page
value1=auto|always|avoid|left|right

[page-break-inside]
inherited=1
initial=auto
group=Page
value1=avoid|auto

[position]
inherited=0
initial=static
group=Visual
value1=static|relative|absolute|fixed

[quotes]
inherited=1
initial=
group=Visual
multiple=1
value1=none|<string>

[right]
inherited=0
initial=auto
group=Visual
value1=<percentage>|<length>|auto

[size]
inherited=0
initial=auto
group=Page
multiple=1
value1=<length>{1,2}|(auto|portrait|landscape|inherit)

[table-layout]
inherited=0
initial=auto
group=Tables
value1=auto|fixed

[text-align]
inherited=1
initial=
group=Text
value1=left|right|center|justify

[text-decoration]
inherited=0
initial=none
group=Text
multiple=1
value1=none|(underline||overline||line\-through||blink)

[text-indent]
inherited=1
initial=0
group=Text
value1=<percentage>|<length>

[text-transform]
inherited=1
initial=none
group=Text
value1=capitalize|uppercase|lowercase|none

[top]
inherited=0
initial=auto
group=Visual
value1=<percentage>|<length>|auto

[vertical-align]
inherited=0
initial=baseline
group=Visual
value1=baseline|sub|super|top|text\-top|middle|bottom|text\-bottom|<percentage>

[visibility]
inherited=0
initial=inherit
group=Visual
value1=visible|hidden

[white-space]
inherited=1
initial=normal
group=Classification
value1=normal|pre|nowrap

[widows]
inherited=1
initial=2
group=Page
value1=<integer>

[width]
inherited=0
initial=auto
group=Box
value1=<percentage>|<length>|auto

[word-spacing]
inherited=1
initial=normal
group=Text
value1=normal|<length>

[z-index]
inherited=0
initial=auto
group=Visual
value1=auto|<integer>

